package org.aurora.framework.boot.domain;

import java.io.Serializable;

/**
 * DomainService
 * <pre>
 * description: 领域服务
 * create date: 2025-03-22 17:34:30
 * </pre>
 *
 * @author cao.yong
 */
public interface DomainService<E extends Entity<ID>, ID extends Serializable> {
    void create(E entity);
    void remove(ID id);
    void remove(E entity);
    void modify(E entity);
}
